package com.kfm.mapper;

import com.kfm.entity.User;

import java.util.List;

public interface UserMapper {

    /**
     * 查询
     * @param user
     * @return
     */
    List<User> selectAll(User user);

    /**
     * 删除用户
     * @param id
     * @return
     */
    User delete(String id);

    User save(User user);
}
